package com.oracle.sbdb.testbo;

import java.util.List;

import org.junit.Test;

import com.oracle.sbdb.bo.UpdatesBo;
import com.oracle.sbdb.servlet.model.BugUpdates;

public class UpdatesBoTest {

//	@Test
	public void test() {
		UpdatesBo updatesBo = UpdatesBo.INSTANCE;
		List<BugUpdates> updatesList = updatesBo.selectbyUpdatesId(1);
		for(BugUpdates bugUpdates : updatesList){
			System.out.println(bugUpdates);
		}
	}
	
	@Test
	public void testLatest() {
		BugUpdates updates = UpdatesBo.INSTANCE.selectLatestUpdate(1);
		System.out.println(updates);
	}

}
